1: \begin{abstract}
2: In this research, we propose an online basis enrichment strategy within the framework of a recently developed constraint energy minimizing generalized multiscale discontinuous Galerkin method (CEM-GMsDGM).
3: Combining the technique of oversampling,
4: one makes use of the information of the current residuals to adaptively construct basis functions in the online stage to reduce the error of multiscale approximation.
5: A complete analysis of the method is presented, which shows the proposed online enrichment leads to a fast convergence from multiscale approximation to the fine-scale solution.
6: The error reduction can be made sufficiently large by suitably selecting oversampling regions and the number of oversampling layers.
7: Further, the convergence rate of the enrichment algorithm depends on a factor of exponential decay regarding to the number of oversampling layers and a user-defined parameter.
8: Numerical results are provided to demonstrate the effectiveness and efficiency of the proposed online adaptive algorithm.
9: \end{abstract}
10: