Unleashing the True Potential of Semantic-Based Log Parsing with Pre-Trained Language Models
Software-intensive systems often produce console logs for troubleshooting purposes. Log parsing, which aims at parsing a log message into a specific log template, typically serves as the first step toward automated log analytics. To better comprehend the semantic information of log messages, many se...
Saved in:
| Published in: | Proceedings / International Conference on Software Engineering pp. 975 - 987 |
|---|---|
| Main Authors: | , , |
| Format: | Conference Proceeding |
| Language: | English |
| Published: |
IEEE
26.04.2025
|
| Subjects: | |
| ISSN: | 1558-1225 |
| Online Access: | Get full text |
| Tags: |
Add Tag
No Tags, Be the first to tag this record!
|
| Abstract | Software-intensive systems often produce console logs for troubleshooting purposes. Log parsing, which aims at parsing a log message into a specific log template, typically serves as the first step toward automated log analytics. To better comprehend the semantic information of log messages, many semantic-based log parsers have been proposed. These log parsers fine-tune a small pre-trained language model (PLM) such as RoBERTa on a few labelled log samples. With the increasing popularity of large language models (LLMs), some recent studies also propose to leverage LLMs such as ChatGPT through in-context learning for automated log parsing and obtain better results than previous semantic-based log parsers with small PLMs. In this paper, we show that semantic-based log parsers with small PLMs can actually achieve better or comparable performance to state-of-the-art LLM-based log parsing models while being more efficient and cost-effective. We propose Unleash, a novel semantic-based log parsing approach, which incorporates three enhancement methods to boost the performance of PLMs for log parsing, including (1) an entropy-based ranking method to select the most informative log samples; (2) a contrastive learning method to enhance the fine-tuning process; and (3) an inference optimization method to improve the log parsing performance. We evaluate Unleash on a set of large-scale, public log datasets and the experimental results show that Unleash is effective and efficient compared to state-of-the-art log parsers. |
|---|---|
| AbstractList | Software-intensive systems often produce console logs for troubleshooting purposes. Log parsing, which aims at parsing a log message into a specific log template, typically serves as the first step toward automated log analytics. To better comprehend the semantic information of log messages, many semantic-based log parsers have been proposed. These log parsers fine-tune a small pre-trained language model (PLM) such as RoBERTa on a few labelled log samples. With the increasing popularity of large language models (LLMs), some recent studies also propose to leverage LLMs such as ChatGPT through in-context learning for automated log parsing and obtain better results than previous semantic-based log parsers with small PLMs. In this paper, we show that semantic-based log parsers with small PLMs can actually achieve better or comparable performance to state-of-the-art LLM-based log parsing models while being more efficient and cost-effective. We propose Unleash, a novel semantic-based log parsing approach, which incorporates three enhancement methods to boost the performance of PLMs for log parsing, including (1) an entropy-based ranking method to select the most informative log samples; (2) a contrastive learning method to enhance the fine-tuning process; and (3) an inference optimization method to improve the log parsing performance. We evaluate Unleash on a set of large-scale, public log datasets and the experimental results show that Unleash is effective and efficient compared to state-of-the-art log parsers. |
| Author | Le, Van-Hoang Zhang, Hongyu Xiao, Yi |
| Author_xml | – sequence: 1 givenname: Van-Hoang surname: Le fullname: Le, Van-Hoang email: hoang.le@newcastle.edu.au organization: The University of Newcastle,Australia – sequence: 2 givenname: Yi surname: Xiao fullname: Xiao, Yi email: yixiao@cqu.edu.cn organization: Chongqing University,China – sequence: 3 givenname: Hongyu surname: Zhang fullname: Zhang, Hongyu email: hyzhang@cqu.edu.cn organization: Chongqing University,China |
| BookMark | eNotkMFKw0AURUdRsK39gy7mB1Lfm8kkmaWWqoWIgaY7obw0r-lIOpFMivj3tujqcjncs7hjceM7z0LMEOaIYB9Wi_XSGB2ncwXKzAEwja_E1KY20xoNmMTitRihMVmESpk7MQ7hEwCS2NqR-Nj4likcnG_kcGBZ9ieWRTewHxy1stvLNR_pXHbREwWuZd41sqA-XAbfbjjIoueo7Mn5CyTfnKhh-dbV3IZ7cbunNvD0Pydi87wsF69R_v6yWjzmEakEhmiXMtaqImNxp1VVMdQU6yrJ1J4pQSKCjDOycW0TA1wz6VQrRqqsJjSxnojZn9cx8_ard0fqf7bne5TNlNW_sjdWSA |
| CODEN | IEEPAD |
| ContentType | Conference Proceeding |
| DBID | 6IE 6IH CBEJK RIE RIO |
| DOI | 10.1109/ICSE55347.2025.00174 |
| DatabaseName | IEEE Electronic Library (IEL) Conference Proceedings IEEE Proceedings Order Plan (POP) 1998-present by volume IEEE Xplore All Conference Proceedings IEEE/IET Electronic Library IEEE Proceedings Order Plans (POP) 1998-present |
| DatabaseTitleList | |
| Database_xml | – sequence: 1 dbid: RIE name: IEEE Xplore url: https://ieeexplore.ieee.org/ sourceTypes: Publisher |
| DeliveryMethod | fulltext_linktorsrc |
| Discipline | Computer Science Business |
| EISBN | 9798331505691 |
| EISSN | 1558-1225 |
| EndPage | 987 |
| ExternalDocumentID | 11029829 |
| Genre | orig-research |
| GroupedDBID | -~X .4S .DC 29O 5VS 6IE 6IF 6IH 6IK 6IL 6IM 6IN 8US AAJGR AAWTH ABLEC ADZIZ ALMA_UNASSIGNED_HOLDINGS ARCSS AVWKF BEFXN BFFAM BGNUA BKEBE BPEOZ CBEJK CHZPO EDO FEDTE I-F IEGSK IJVOP IPLJI M43 OCL RIE RIL RIO |
| ID | FETCH-LOGICAL-a260t-c7e1d2ba591c32bbe0da43b682fea61aaa08e8a94d9650edea3732e1ab93a1543 |
| IEDL.DBID | RIE |
| ISICitedReferencesCount | 0 |
| ISICitedReferencesURI | http://www.webofscience.com/api/gateway?GWVersion=2&SrcApp=Summon&SrcAuth=ProQuest&DestLinkType=CitingArticles&DestApp=WOS_CPL&KeyUT=001538318100076&url=https%3A%2F%2Fcvtisr.summon.serialssolutions.com%2F%23%21%2Fsearch%3Fho%3Df%26include.ft.matches%3Dt%26l%3Dnull%26q%3D |
| IngestDate | Wed Aug 27 01:40:09 EDT 2025 |
| IsPeerReviewed | false |
| IsScholarly | true |
| Language | English |
| LinkModel | DirectLink |
| MergedId | FETCHMERGED-LOGICAL-a260t-c7e1d2ba591c32bbe0da43b682fea61aaa08e8a94d9650edea3732e1ab93a1543 |
| PageCount | 13 |
| ParticipantIDs | ieee_primary_11029829 |
| PublicationCentury | 2000 |
| PublicationDate | 2025-April-26 |
| PublicationDateYYYYMMDD | 2025-04-26 |
| PublicationDate_xml | – month: 04 year: 2025 text: 2025-April-26 day: 26 |
| PublicationDecade | 2020 |
| PublicationTitle | Proceedings / International Conference on Software Engineering |
| PublicationTitleAbbrev | ICSE |
| PublicationYear | 2025 |
| Publisher | IEEE |
| Publisher_xml | – name: IEEE |
| SSID | ssj0006499 |
| Score | 2.3102434 |
| Snippet | Software-intensive systems often produce console logs for troubleshooting purposes. Log parsing, which aims at parsing a log message into a specific log... |
| SourceID | ieee |
| SourceType | Publisher |
| StartPage | 975 |
| SubjectTerms | Business Chatbots Contrastive learning Large language models log analytics log parsing Optimization methods pre-trained LMs Scalability Semantics Software engineering |
| Title | Unleashing the True Potential of Semantic-Based Log Parsing with Pre-Trained Language Models |
| URI | https://ieeexplore.ieee.org/document/11029829 |
| WOSCitedRecordID | wos001538318100076&url=https%3A%2F%2Fcvtisr.summon.serialssolutions.com%2F%23%21%2Fsearch%3Fho%3Df%26include.ft.matches%3Dt%26l%3Dnull%26q%3D |
| hasFullText | 1 |
| inHoldings | 1 |
| isFullTextHit | |
| isPrint | |
| link | http://cvtisr.summon.serialssolutions.com/2.0.0/link/0/eLvHCXMwlV3Pa8IwFA5TxtjJzTn2mxx27WyStkmuE2WDIYIKHgaSpK9DcK1o3d-_l1rdLjvsUkoLDbxH8n358l4_Qh6dENJxroIMuX4QxTjndKjxohMkSSqDKLaV2YQcDtVspkd1s3rVCwMAVfEZPPnb6iw_LdzWS2VdhCquFdcN0pBS7pq1Dstugty97o1joe6-9sb9OBaRxD0g97oJ8zV9vxxUKgAZtP459Bnp_LTi0dEBZM7JEeRtcrIvV2-T1t6Wgdaz9IK8T_Ml7DySKNI7Ollv8RtF6euCzJIWGR3DJwZ04YJnxLCUvhUfdGQq1YB6XRYHhGDivSP8y1rQpN41bbnpkOmgP-m9BLWJQmBwq1IGTgJLuTWxZk5wayFMTSRsongGJmHGmFCBMjpKNZI1SMEIKTgwY7UwyK_EJWnmRQ5XhEprU8AoYNaTiDnQGSIbUzrBxTvLBLsmHR-4-Wr3n4z5PmY3fzy_Jac-N_5shid3pFliOO7JsfsqF5v1Q5Xdb_SWpnE |
| linkProvider | IEEE |
| linkToHtml | http://cvtisr.summon.serialssolutions.com/2.0.0/link/0/eLvHCXMwlV1NS8NAEF20inqq1orf7sFrbPYjH3u1tLRYS6Ep9CCU3WQihZpIm_r7nU3T6sWDlxASyMIMu-_t25k8Qh5jIYKY89BJkes70sM5p1yFF-UjSQpTkJ4pzSaC4TCcTtWoalYve2EAoCw-gyd7W57lJ3m8tlJZC6GKq5CrfXLgScnZpl1rt_D6yN6r7jjmqla_Pe54npAB7gK5VU6Yrer75aFSQki3_s_BT0nzpxmPjnYwc0b2IGuQo23BeoPUt8YMtJqn5-Rtki1g45JEkeDRaLnGb-SFrQzSC5qndAwfGNJ57DwjiiV0kL_TkS51A2qVWRwQnMi6R9iXlaRJrW_aYtUkk24navecykbB0bhZKZw4AJZwoz3FYsGNATfRUhg_5Clon2mt3RBCrWSikK5BAloEggPTRgmNDEtckFqWZ3BJaGBMAhgFzLsvWQwqRWxjofJx-U5Twa5I0wZu9rn5U8ZsG7PrP54_kONe9DqYDfrDlxtyYvNkT2q4f0tqBYbmjhzGX8V8tbwvM_0NyIOpuA |
| openUrl | ctx_ver=Z39.88-2004&ctx_enc=info%3Aofi%2Fenc%3AUTF-8&rfr_id=info%3Asid%2Fsummon.serialssolutions.com&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Abook&rft.genre=proceeding&rft.title=Proceedings+%2F+International+Conference+on+Software+Engineering&rft.atitle=Unleashing+the+True+Potential+of+Semantic-Based+Log+Parsing+with+Pre-Trained+Language+Models&rft.au=Le%2C+Van-Hoang&rft.au=Xiao%2C+Yi&rft.au=Zhang%2C+Hongyu&rft.date=2025-04-26&rft.pub=IEEE&rft.eissn=1558-1225&rft.spage=975&rft.epage=987&rft_id=info:doi/10.1109%2FICSE55347.2025.00174&rft.externalDocID=11029829 |