<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Rick Gwei</title>
    <link>https://rickgwei.com/en/tags/llm/</link>
    <description>Live For Fun</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>en</language>
    <managingEditor>Rick Gwei</managingEditor>
    <webMaster>Rick Gwei</webMaster>
    <lastBuildDate>Wed, 01 Apr 2026 16:37:26 +0000</lastBuildDate>
    
    <atom:link href="https://rickgwei.com/en/tags/llm/index.xml" rel="self" type="application/rss+xml" />
    
    <item>
      <title>Model Copyright Watermarking</title>
      <link>https://rickgwei.com/en/posts/llm-copyright-watermarking/</link>
      <pubDate>Thu, 02 Apr 2026 00:00:00 +0800</pubDate>
      <guid>https://rickgwei.com/en/posts/llm-copyright-watermarking/</guid>
      <description>&lt;p&gt;In this era of rapidly expanding model parameters, vendors across the board are trying different techniques to synthesize data and train their own models, then rush them to market to extract value. In my view, this is essentially free-riding on the work of people who actually create things. There&amp;rsquo;s a principle in manufacturing sometimes called the &amp;ldquo;mother machine theorem&amp;rdquo; — a workpiece produced by a high-precision machine tool, when assembled into a new machine tool, can never achieve the original&amp;rsquo;s precision. Back in college, studying Zhou Zhihua&amp;rsquo;s &lt;em&gt;Machine Learning&lt;/em&gt;, I came across the NFL theorem (No Free Lunch) — if you truly want to do something valuable, you should put in the foundational work honestly.&lt;/p&gt;
&lt;p&gt;In this article, I&amp;rsquo;ll introduce several techniques for protecting models. I hope these can offer some inspiration in an era where bad money drives out good.&lt;/p&gt;
&lt;p&gt;Model leaks generally happen in two ways:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;&lt;strong&gt;White-box leaks:&lt;/strong&gt; The original model files are directly exposed.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Black-box leaks:&lt;/strong&gt; Domain-specific knowledge is extracted through distillation.&lt;/li&gt;
&lt;/ol&gt;
&lt;h2 id=&#34;white-box-tracing&#34;&gt;White-Box Tracing&lt;/h2&gt;
&lt;p&gt;&lt;strong&gt;How it&amp;rsquo;s embedded:&lt;/strong&gt; Perform streaming LSB (Least Significant Bit) replacement during model downloads. Tracing signatures are inserted at different parameter positions throughout the model — for example, embedding one watermark signature per 1M parameters. Before insertion, the watermark information is binarized, with header bits and checksums added to the binary data. For better extraction success rates, it&amp;rsquo;s best to also apply ECC (Error Correction Code) calculations.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;How it&amp;rsquo;s extracted:&lt;/strong&gt; You need access to the original model parameters to perform extraction and potentially recover the corresponding watermark information.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Pros:&lt;/strong&gt; &lt;strong&gt;Low implementation cost&lt;/strong&gt; — parameter computation can be handled via CPU streaming without requiring massive GPU resources for model training. &lt;strong&gt;Minimal model impact&lt;/strong&gt; — for BF16 and FP8 parameter types, adjusting only the least significant bits has negligible effect on the original weights and doesn&amp;rsquo;t degrade model capabilities.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Cons:&lt;/strong&gt; &lt;strong&gt;Low robustness&lt;/strong&gt; — basic quantization or post-training will cause tracing to fail. &lt;strong&gt;High tracing difficulty&lt;/strong&gt; — without the original model files, it&amp;rsquo;s virtually impossible to produce definitive proof.&lt;/p&gt;
&lt;h2 id=&#34;statistical-tracing&#34;&gt;Statistical Tracing&lt;/h2&gt;
&lt;p&gt;I recall Zhang Xiaolong (WeChat&amp;rsquo;s creator) once had a patent describing how to infer someone&amp;rsquo;s gender through chat conversations. That patent essentially demonstrated that everyone has distinctive speech patterns. During World War II, telegraph operators could also sense whether the person on the other end was their regular counterpart just by the characteristics of the incoming signals.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;How it&amp;rsquo;s embedded:&lt;/strong&gt; Dynamically adjust the model&amp;rsquo;s tokenizer weights to create an expression preference — making the output of certain patterns fall within a fixed range.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;How it&amp;rsquo;s extracted:&lt;/strong&gt; Run extended conversations with the suspected leaked model and statistically analyze whether the output characteristics match the configured range, to infer whether the leaked model is yours.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Pros:&lt;/strong&gt; &lt;strong&gt;Low implementation cost&lt;/strong&gt; — no model training needed, just tokenizer weight adjustments. &lt;strong&gt;Minimal model impact&lt;/strong&gt; — doesn&amp;rsquo;t affect the semantic content of model outputs, preserving consistency and usability.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Cons:&lt;/strong&gt; &lt;strong&gt;Low robustness&lt;/strong&gt; — this approach offers great cost-effectiveness in the early stages of model protection, but it&amp;rsquo;s powerless against synthetic data distillation. &lt;strong&gt;High explanation cost&lt;/strong&gt; — can&amp;rsquo;t deliver a definitive verdict on leaks, and explaining the statistical evidence to a judge would be expensive.&lt;/p&gt;
&lt;h2 id=&#34;black-box-tracing&#34;&gt;Black-Box Tracing&lt;/h2&gt;
&lt;p&gt;In &lt;em&gt;Dune Messiah&lt;/em&gt; (the third Dune story), there&amp;rsquo;s a scene where Leto and Ghanima are attacked by Laza tigers secretly controlled by House Corrino. To fool everyone — &lt;strong&gt;including the lie-detecting Bene Gesserit sisters&lt;/strong&gt; — into believing Leto was truly dead, Ghanima performed an extreme self-hypnosis, forcibly sealing away the truth of Leto&amp;rsquo;s survival. In her own mind, Leto really was dead. To later unlock this mental seal, Leto left his sister a passphrase before they parted: &lt;strong&gt;&amp;ldquo;Secher Nbiw&amp;rdquo;&lt;/strong&gt; — meaning &lt;strong&gt;&amp;ldquo;The Golden Path.&amp;rdquo;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;This technique of using a hidden passphrase to trigger and recover sealed memories can also be applied to model protection. In real-world scenarios, it often does the best job of safeguarding a model&amp;rsquo;s most valuable knowledge.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;How it&amp;rsquo;s embedded:&lt;/strong&gt; Generate fictitious information across different domains — for instance, creating a non-existent stock ticker with contextual semantic information in the finance domain. Use this fictitious data to post-train different LoRA models, then merge the model parameters for external deployment.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;How it&amp;rsquo;s extracted:&lt;/strong&gt; Trigger domain-specific knowledge to determine whether the model has been distilled by other models or otherwise stolen.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Pros:&lt;/strong&gt; &lt;strong&gt;High robustness&lt;/strong&gt; — works in both white-box and black-box tracing scenarios; open-source models worried about distillation can use this too. &lt;strong&gt;Low explanation cost&lt;/strong&gt; — no need for complex statistical explanations; it delivers a definitive verdict.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Cons:&lt;/strong&gt; &lt;strong&gt;High implementation cost&lt;/strong&gt; — requires GPU resources for post-training the model. &lt;strong&gt;Higher model impact&lt;/strong&gt; — affects the model&amp;rsquo;s existing domain knowledge to some degree, though this can be relatively controlled by adjusting the training data.&lt;/p&gt;
</description>
    </item>
    <item>
      <title>The Evolution of Data Classification Algorithms</title>
      <link>https://rickgwei.com/en/posts/data-classification-algorithm-evolution/</link>
      <pubDate>Wed, 01 Apr 2026 00:00:00 +0800</pubDate>
      <guid>https://rickgwei.com/en/posts/data-classification-algorithm-evolution/</guid>
      <description>&lt;p&gt;Companies often face regulatory compliance requirements that call for inventorying user-sensitive data and other business data to support audits. They also need to routinely scan for and protect trade secrets. To meet these needs, you have to classify different data types and build a data asset inventory.&lt;/p&gt;
&lt;p&gt;The most common type of data that needs protection is PII (Personally Identifiable Information) — things like names, phone numbers, addresses, and national ID numbers. PII is the top priority for regulatory compliance. Then there&amp;rsquo;s commercially sensitive data, such as product pricing, GMV (Gross Merchandise Value), and sales volumes — key metrics that keep a business running.&lt;/p&gt;
&lt;h2 id=&#34;traditional-data-classification-methods&#34;&gt;Traditional Data Classification Methods&lt;/h2&gt;
&lt;p&gt;&lt;strong&gt;Keyword Matching (Low Recall)&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;How it works:&lt;/strong&gt; Match against a simple, hardcoded list of keywords (e.g., &amp;ldquo;phone,&amp;rdquo; &amp;ldquo;mobile,&amp;rdquo; &amp;ldquo;address&amp;rdquo;).&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Strengths:&lt;/strong&gt; This is the most basic approach. It&amp;rsquo;s blazing fast and easy to implement.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Limitations (low recall):&lt;/strong&gt; It can only catch literal matches. If PII shows up in a non-standard format — say, &amp;ldquo;Tel:&amp;rdquo; instead of &amp;ldquo;phone,&amp;rdquo; or a phone number written out as words — it&amp;rsquo;ll miss it entirely. That&amp;rsquo;s why its &lt;strong&gt;recall is low&lt;/strong&gt;: it misses a lot of PII that&amp;rsquo;s actually there.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;Regex Validation (High False Positives)&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;How it works:&lt;/strong&gt; Use regular expressions to match specific PII patterns (e.g., an 11-digit number pattern like &lt;code&gt;^\d{11}$&lt;/code&gt; or a national ID format).&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Strengths:&lt;/strong&gt; It can catch more diverse formats than simple keyword matching.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Limitations (high false positives):&lt;/strong&gt; It has zero context awareness. For example, the pattern &lt;code&gt;^\d{11}$&lt;/code&gt; might flag an 11-digit order number or product serial number as a phone number. That&amp;rsquo;s why its &lt;strong&gt;precision is low&lt;/strong&gt;: it incorrectly labels a lot of non-PII as PII.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&#34;machine-learning-classification-methods&#34;&gt;Machine Learning Classification Methods&lt;/h2&gt;
&lt;p&gt;&lt;strong&gt;BERT &amp;amp; NER (Boosting Precision)&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;How it works:&lt;/strong&gt; Bring in deep learning models based on the Transformer architecture, like BERT, combined with Named Entity Recognition (NER) tasks.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Strengths:&lt;/strong&gt; These models can actually &amp;ldquo;understand&amp;rdquo; the context of words within a sentence. Instead of relying purely on patterns, they can figure out whether &amp;ldquo;Li Hua&amp;rdquo; is a person&amp;rsquo;s name or just a common phrase, or that &amp;ldquo;13812345678&amp;rdquo; following &amp;ldquo;my phone number is&amp;hellip;&amp;rdquo; is indeed a phone number.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Impact:&lt;/strong&gt; Dramatically improves &lt;strong&gt;precision&lt;/strong&gt;, cutting down the false positives that regex produces.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;LLM (Expanding Context to Boost Recall)&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;How it works:&lt;/strong&gt; Use Large Language Models (LLMs) to fill in contextual information and improve the model&amp;rsquo;s classification recall.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Strengths:&lt;/strong&gt; LLMs have powerful language generation and comprehension capabilities.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Impact (boosting recall):&lt;/strong&gt; They can &amp;ldquo;expand&amp;rdquo; or &amp;ldquo;rewrite&amp;rdquo; the context around PII-containing sentences, or generate synonyms and variations for specific PII types. By providing more diverse and subtle expressions as training data, they help BERT/NER models learn to recognize non-standard PII expressions that were previously missed. This primarily boosts the system&amp;rsquo;s &lt;strong&gt;recall&lt;/strong&gt;.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&#34;transfer-learning-classification-methods&#34;&gt;Transfer Learning Classification Methods&lt;/h2&gt;
&lt;p&gt;&lt;strong&gt;LLM Classification Skills&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;How it works:&lt;/strong&gt; Have large-parameter models perform classification reasoning on long-form text, using Skills to codify and maintain classification prompts.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Strengths:&lt;/strong&gt; Makes it easy to deploy and maintain classification strategies. Particularly effective for tricky scenarios — like determining whether a sentence contains employee-sensitive information versus user-sensitive information.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Impact:&lt;/strong&gt; Improves classification precision, though this fully black-box approach is heavily dependent on the base model&amp;rsquo;s reasoning capabilities.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;Distilled Small Model Classification&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;How it works:&lt;/strong&gt; Running data classification on all your data racks up massive token costs that don&amp;rsquo;t pencil out over time. Instead, use a powerful large model to label a smaller dataset, then train a lightweight model dedicated solely to classification.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Strengths:&lt;/strong&gt; Leverages a large model for data labeling to produce a low-cost, high-efficiency small model for day-to-day classification.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Impact:&lt;/strong&gt; Strikes a balance between cost and efficiency, with statistically meaningful interpretability.&lt;/li&gt;
&lt;/ul&gt;
</description>
    </item>
    <item>
      <title>Prioritize the Quality of Life</title>
      <link>https://rickgwei.com/en/posts/prioritize-quality-of-life/</link>
      <pubDate>Sat, 07 Mar 2026 00:00:00 +0800</pubDate>
      <guid>https://rickgwei.com/en/posts/prioritize-quality-of-life/</guid>
      <description>&lt;p&gt;I grew up in a hospital. When playing hide-and-seek with other kids there, I&amp;rsquo;d often accidentally wander into places I shouldn&amp;rsquo;t have been. Once, I hid in an open ward in the inpatient building and saw a lifeless old man lying in bed, tubes and machines connected all over his body, staring blankly at the ceiling. I froze in that moment, stood there for a beat, then turned and ran as fast as I could. But that feeling of death has stayed with me ever since.&lt;/p&gt;
&lt;p&gt;When I first entered the workforce, I was consumed by a sense of emptiness, and my disgust toward others hit an all-time high. I couldn&amp;rsquo;t tolerate anything that disrupted my experience, and I was emotionally unstable. In this chaos of emotions, I began to question the meaning of being alive. So many things felt meaningless, and that filled me with despair. I was probably trapped in the turbulence of self-actualization on Maslow&amp;rsquo;s hierarchy — not knowing why I was alive, nor what I was living for.&lt;/p&gt;
&lt;p&gt;My mind was racing nonstop, running through every possible outcome, and I couldn&amp;rsquo;t even sleep properly. I felt an intense insecurity toward everything around me. My energy was drained to its absolute limit. Eventually I couldn&amp;rsquo;t hold it together anymore — my temper turned volatile, and my emotions teetered on the edge of collapse.&lt;/p&gt;
&lt;p&gt;I picked up &lt;em&gt;Zen and the Art of Motorcycle Maintenance&lt;/em&gt;, and it made me realize that I could have a &lt;strong&gt;Chautauqua&lt;/strong&gt; with myself. But the real awakening came when I started learning meditation. I began studying the concept of emptiness in early Buddhism and tried to quiet my racing thoughts through practice. Around the same time, a colleague taught me a simple trick: when everything feels overwhelming, lift your head and look at the sky. I later learned from neuroscience that this action releases pressure from the prefrontal cortex, which is why it brings a sense of relief.&lt;/p&gt;
&lt;p&gt;After I started meditating, I gradually developed a conception of death. For many people, death may be a release — a way to escape a painful reality. When I became conscious of death, I started thinking about the meaning of my life and the quality of my existence. The image of that old man from my childhood game of hide-and-seek came back to me. He was so close to death, yet he wasn&amp;rsquo;t happy either. Life can&amp;rsquo;t guarantee that everything will be valuable, but the experience of doing different things — and how different people experience the same thing — varies completely. The quality of life lies in the ability to perceive each moment, to collect information from all five senses in the here and now. When I eat each bite of food with full attention, savoring the taste and smell, I&amp;rsquo;m happy — and I remember how it felt. When I get on my motorcycle and ride out to explore the unknown, my eyes and ears are filled with joy — I&amp;rsquo;ll never forget that feeling. The quality of life comes down to the ability to notice beauty. Only by truly experiencing the process can you discover happiness. Only by looking inward can you find beautiful memories worth holding onto.&lt;/p&gt;
&lt;p&gt;I&amp;rsquo;m not afraid of death, because I know I&amp;rsquo;ve felt the beauty of this world. And I want more people to know how to find their own way of experiencing it — to let life bloom in all its brilliance.&lt;/p&gt;
</description>
    </item>
    <item>
      <title>The Mental Energy That Gets Drained Away</title>
      <link>https://rickgwei.com/en/posts/mental-energy-drain/</link>
      <pubDate>Sun, 22 Feb 2026 00:00:00 +0800</pubDate>
      <guid>https://rickgwei.com/en/posts/mental-energy-drain/</guid>
      <description>&lt;p&gt;At work, I often find myself questioning the value of what I do, especially around performance review cycles. The truth is, the output of most modern white-collar jobs is practically impossible to measure. Internal competition alone eats up the majority of working hours. So why do companies keep hiring?&lt;/p&gt;
&lt;p&gt;I often compare big companies to complex machines. In the beginning, the machine is nimble and versatile — like a Swiss Army knife. A handful of creative people build the foundation and attract more creative people to join. But as different people come on board, layer after layer of makeshift components get bolted on during iteration, making the whole thing unwieldy. The founding team stops paying attention to whether the machine runs efficiently, and eventually no one dares to fix it — because nobody knows which part, if changed, would bring the entire thing crashing down. Applying the broken windows theory: everyone stops caring about actual performance. They just pile on their work, dust off their hands, and walk away. The machine gradually becomes tedious, hovering on the edge of a slow death.&lt;/p&gt;
&lt;p&gt;As the saying goes, where there are people, there&amp;rsquo;s politics. Managing people is, in my view, one of the hardest things there is. To maintain a baseline of efficiency, big companies typically adopt a tree-structured management hierarchy — decisions cascade down from the top, and results flow back up. Leaf nodes also pass information to each other laterally, making it something like a B+ tree. Most communication happens between parent and child nodes, and as information travels downward, noise keeps getting added. By the time it reaches execution, the cost of just filtering out that noise eats up a huge chunk of effort. But reality isn&amp;rsquo;t that clean — the requirements being passed down keep changing as the noise is being removed. The real challenge for any employee is first the ability to cut through noise, and only then the ability to execute.&lt;/p&gt;
&lt;p&gt;Everything I&amp;rsquo;ve described happens every single day, and for the people doing the actual work, it&amp;rsquo;s painful. It subtly trains them to adopt this inefficient way of working, forcing them to fit the system while grinding down their most precious resource — their mental energy. Eventually, a person becomes institutionalized, unable to break free from this low-efficiency system. For big companies, of course, this is a feature, not a bug — it eliminates potential competitors by buying up people&amp;rsquo;s mental energy and maintaining market monopoly.&lt;/p&gt;
</description>
    </item>
    <item>
      <title>A Brief Introduction to Digital Watermarking</title>
      <link>https://rickgwei.com/en/posts/digital-watermark-intro/</link>
      <pubDate>Sat, 17 Jan 2026 00:00:00 +0800</pubDate>
      <guid>https://rickgwei.com/en/posts/digital-watermark-intro/</guid>
      <description>&lt;p&gt;From an &lt;strong&gt;information theory&lt;/strong&gt; perspective, digital watermarking solves the problem of &lt;strong&gt;reliable communication over a noisy channel&lt;/strong&gt;.
From a &lt;strong&gt;steganography&lt;/strong&gt; perspective, the goal is &lt;strong&gt;undetectability&lt;/strong&gt; of the channel (existence concealment).
From a &lt;strong&gt;watermarking&lt;/strong&gt; perspective, the goal is &lt;strong&gt;robustness&lt;/strong&gt; of the signal under strong noise (attacks) — i.e., transmission reliability.&lt;/p&gt;
&lt;h3 id=&#34;evaluation-metrics-for-watermarks&#34;&gt;Evaluation Metrics for Watermarks&lt;/h3&gt;
&lt;p&gt;&lt;strong&gt;Imperceptibility&lt;/strong&gt;: Measures the difference between the original carrier and the watermarked carrier.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;PSNR (Peak Signal-to-Noise Ratio):&lt;/strong&gt; The most commonly used image quality metric. For 8-bit images, a &lt;strong&gt;PSNR &amp;gt; 35dB&lt;/strong&gt; generally indicates good imperceptibility.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;SSIM (Structural Similarity Index):&lt;/strong&gt; More aligned with the human visual system (HVS) than PSNR, considering luminance, contrast, and structural information. Values closer to 1 are better.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;JND (Just Noticeable Difference):&lt;/strong&gt; The minimum perceptible error, using the visual masking effect of the human eye to determine where more watermark data can be embedded without detection (e.g., in textured regions).&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;Robustness&lt;/strong&gt;: Effectiveness against common attacks.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Signal processing attacks:&lt;/strong&gt; Lossy compression (JPEG/MPEG), Gaussian noise, filtering (e.g., blurring), histogram equalization.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Geometric attacks:&lt;/strong&gt; The hardest to defend against, including Rotation, Scaling, Translation — collectively known as &lt;strong&gt;RST attacks&lt;/strong&gt; — as well as random cropping and aspect ratio changes.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Desynchronization attacks:&lt;/strong&gt; Even if the watermark information persists, the synchronization bits are destroyed, so the detector doesn&amp;rsquo;t know where to start reading. Examples include mirroring and image splicing.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;NC (Normalized Correlation Coefficient):&lt;/strong&gt; Measures the similarity between the extracted watermark and the original.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;BER (Bit Error Rate):&lt;/strong&gt; The proportion of incorrectly extracted bits.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;Watermark Capacity (Payload)&lt;/strong&gt;: The amount of embedded information, typically measured in &lt;strong&gt;bits/pixel (bpp)&lt;/strong&gt; or &lt;strong&gt;bits/second&lt;/strong&gt;.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Zero-bit watermarking (1-bit):&lt;/strong&gt; Only detects whether a watermark is &amp;ldquo;present&amp;rdquo; or &amp;ldquo;absent.&amp;rdquo; Commonly used for copyright verification.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Multi-bit watermarking:&lt;/strong&gt; Embeds specific serial numbers, user IDs, timestamps, etc.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;Trade-off&lt;/strong&gt;: Higher capacity typically means sacrificing either robustness (more errors) or imperceptibility (more noise).&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Security&lt;/strong&gt;: Security defends against &lt;strong&gt;hostile analysis&lt;/strong&gt;, assuming the attacker fully knows the watermarking algorithm but not the key.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Reliability&lt;/strong&gt;:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;False Positive Rate (FPR):&lt;/strong&gt; An unwatermarked image is falsely detected as watermarked.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;False Negative Rate (FNR):&lt;/strong&gt; A watermarked image fails to be detected.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id=&#34;image-watermarking&#34;&gt;Image Watermarking&lt;/h3&gt;
&lt;p&gt;&lt;strong&gt;Color Space&lt;/strong&gt;:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;RGBA (Red, Green, Blue, Alpha):&lt;/strong&gt; Universal standard for computer displays. Image format: PNG.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;YUV (Luma + Chroma):&lt;/strong&gt; &lt;strong&gt;Y (Luminance):&lt;/strong&gt; brightness component (grayscale), &lt;strong&gt;U (Cb) / V (Cr):&lt;/strong&gt; chrominance components (blue/red color difference). Image formats: WebP and JPEG.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;Spatial Domain&lt;/strong&gt;: Directly modifies pixel grayscale or color values.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;LSB (Least Significant Bit): Modifies the last bit of a pixel&amp;rsquo;s binary value. Minimal visual impact, but weakest robustness.&lt;/li&gt;
&lt;li&gt;ROI (Region of Interest): Embeds in background regions with complex textures, since the human eye is less sensitive to noise in textured areas (visual masking effect).&lt;/li&gt;
&lt;li&gt;Dot-matrix watermarks: Overlays nearly invisible yellow dots or noise matrices at specific coordinates in the image.&lt;/li&gt;
&lt;li&gt;High-transparency watermarks: Embeds watermark information by fine-tuning the display color through background image transparency adjustments — essentially an LSB method, commonly used for overlay backgrounds.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;Transform Domain&lt;/strong&gt;: Applies mathematical transforms to the image, embeds the watermark in the transformed coefficients, then inverse-transforms back.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;DCT (Discrete Cosine Transform) mid-frequency coefficients:&lt;/strong&gt; The core of JPEG compression. DCT separates an image into low frequency (general contours), mid frequency (structural information), and high frequency (detail/noise).
&lt;ul&gt;
&lt;li&gt;&lt;em&gt;Low frequency:&lt;/em&gt; Modifying it causes visible distortion.&lt;/li&gt;
&lt;li&gt;&lt;em&gt;High frequency:&lt;/em&gt; Modifications get discarded as noise by compression algorithms (like JPEG).&lt;/li&gt;
&lt;li&gt;&lt;em&gt;Mid frequency:&lt;/em&gt; &lt;strong&gt;This is the optimal embedding location&lt;/strong&gt;, balancing both robustness and imperceptibility.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;DWT (Discrete Wavelet Transform):&lt;/strong&gt; Decomposes the image into LL (low-frequency approximation), LH (horizontal detail), HL (vertical detail), HH (diagonal detail). Typically embedded in low-frequency subband coefficients, offering better robustness than DCT.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;DFT (Discrete Fourier Transform):&lt;/strong&gt; Has rotational invariance, commonly used to resist geometric attacks (RST attacks).&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id=&#34;audio-watermarking&#34;&gt;Audio Watermarking&lt;/h3&gt;
&lt;p&gt;&lt;strong&gt;Time Domain&lt;/strong&gt;: &lt;strong&gt;Echo Hiding:&lt;/strong&gt; Introduces extremely short echoes that the human ear cannot distinguish (e.g., &amp;lt; 2ms). Encodes &amp;ldquo;0&amp;rdquo; and &amp;ldquo;1&amp;rdquo; by varying the echo&amp;rsquo;s delay or amplitude.
&lt;strong&gt;Frequency Domain&lt;/strong&gt;:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Phase Coding:&lt;/strong&gt; Modifies the phase spectrum of the audio signal. The human ear has low sensitivity to &amp;ldquo;relative phase,&amp;rdquo; making it suitable for data hiding.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Spread Spectrum:&lt;/strong&gt; Similar to wireless communication technology, spreads the watermark signal across a wide frequency band as low-power noise, making it extremely difficult to remove.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id=&#34;video-watermarking&#34;&gt;Video Watermarking&lt;/h3&gt;
&lt;p&gt;&lt;strong&gt;Compressed Domain / Bitstream:&lt;/strong&gt; Embeds within the H.264/H.265 encoding structure. Adds stable watermark information by locking and modifying keyframes (I-frames). This approach has good robustness but can cause error propagation, leading to poor visual quality. Modifying predicted frames (P/B frames) has relatively less impact.
&lt;strong&gt;Motion Vectors:&lt;/strong&gt; Embeds watermark information by subtly adjusting motion vectors, using technology similar to DLSS frame interpolation logic.&lt;/p&gt;
&lt;h3 id=&#34;text-watermarking&#34;&gt;Text Watermarking&lt;/h3&gt;
&lt;p&gt;&lt;strong&gt;Font Formatting (Word Watermarking)&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Line/Word Shifting:&lt;/strong&gt; Subtly adjusts the spacing between lines or between words to embed watermark information.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Zero-width Characters:&lt;/strong&gt; Uses Unicode zero-width joiners (ZWJ, U+200D) or zero-width spaces. The document shows no visible watermark in preview mode — it only appears in edit mode.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Font Perturbation:&lt;/strong&gt; Slightly alters the glyph of certain characters. Methods include adjusting common character glyphs, CJK variant rendering, and Unicode homoglyph substitution.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;Semantic Watermarking (NLP Watermarking)&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Keyword Substitution:&lt;/strong&gt; Creates a cipher table using abbreviations, synonyms, hypernyms, etc. to embed watermark information.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Syntactic Substitution:&lt;/strong&gt; Adjusts text syntax without affecting semantics to embed watermark information.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id=&#34;database-watermarking&#34;&gt;Database Watermarking&lt;/h3&gt;
&lt;p&gt;&lt;strong&gt;Numeric Data:&lt;/strong&gt; Uses methods that don&amp;rsquo;t affect statistical properties — adjusting the standard deviation of values, modifying the least significant bits. Follows the LSB watermarking approach.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Text Data:&lt;/strong&gt; Can follow the text watermarking methods described above.&lt;/p&gt;
&lt;h3 id=&#34;machine-learning-model-watermarking&#34;&gt;Machine Learning Model Watermarking&lt;/h3&gt;
&lt;p&gt;&lt;strong&gt;White-box Watermarking:&lt;/strong&gt; Fine-tunes model parameters using an LSB-like approach to adjust specific weights. Adding watermarks to the least significant bits of FP16 parameters has essentially zero impact on the model. Embedding can be done using CPU streaming to modify model weights, making it more economical compared to post-training approaches.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Black-box Watermarking:&lt;/strong&gt; Uses post-training to add watermark knowledge to a base model. The training dataset must be designed to follow natural language conversation patterns and not be easily triggered by the model. Requires adding a large volume of trigger-encoded samples to the watermark dataset, and the dataset needs fine-tuning to avoid significantly impacting model performance before and after training.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Statistical Watermarking:&lt;/strong&gt; Adjusts word frequencies by modifying the LLM&amp;rsquo;s tokenizer. This approach has the best concealment, but embeds fewer effective bits, making forensic interpretation more costly.&lt;/p&gt;
</description>
    </item>
    <item>
      <title>Reflections on the Past Year</title>
      <link>https://rickgwei.com/en/posts/past-year-thoughts/</link>
      <pubDate>Thu, 08 Jan 2026 00:00:00 +0800</pubDate>
      <guid>https://rickgwei.com/en/posts/past-year-thoughts/</guid>
      <description>&lt;p&gt;If you blog, you know the drill — every year when it wraps up, you feel compelled to write something to document what happened. From the first time I started blogging until now, I can finally say I&amp;rsquo;ve been consistently writing for a stretch. I remember my first club activity in college was a tutorial on how to set up a personal blog. From that first blog setup until now, I&amp;rsquo;ve always thought about recording my life, but I&amp;rsquo;d typically lose steam during the post-setup refractory period and call it a day. In 2025, V2EX launched the VXNA section, and I noticed people were actively sharing their blog content. During idle moments at work, I&amp;rsquo;d click through different blogs and stumbled upon Typecho — a blogging framework I&amp;rsquo;d never seen before. What drew me to actively start using it was the clean, open feel of their official site. So let me write about what happened this past year.&lt;/p&gt;
&lt;p&gt;The happiest thing that happened to me this year was getting our marriage certificate with my girlfriend. We&amp;rsquo;ve been together since high school, and I&amp;rsquo;m incredibly grateful she&amp;rsquo;s been by my side, encouraging and supporting me. After college, she came to Beijing with me to build our careers. Life after work has been a lot harder than college — we went through struggles that only we truly know about. I feel very lucky to have her as a companion, supporting each other through this tough period.&lt;/p&gt;
&lt;p&gt;The second thing that brought me joy was starting to cultivate my own taste. I first became aware of this concept after watching an interview with Steve Jobs — if you want to create great things, you need to have experienced great things. Over the past year, I started reading finance and business books more deliberately, building mental models in my subconscious. I also bought a camera to actually use for photography — when something interesting catches my eye while I&amp;rsquo;m out, I snap a photo to save as a future memory. Red wine became another hobby this year. After trying over 30 bottles from different regions and grape varieties, I found my preferred flavor profile, which also made dining at Western restaurants a lot more enjoyable.&lt;/p&gt;
&lt;p&gt;The last thing is that I finally found an apartment I&amp;rsquo;m satisfied with. Since leaving college, every rental has failed to meet my needs. This year alone, I went through moving apartments, dealing with a heating leak, looking for places again, moving myself, and then dealing with plumbing renovations. I&amp;rsquo;ve lost a lot of confidence in the rental market. But it also taught me to actively protect my own rights — when problems come up, take the initiative to negotiate and hold your bottom line. That&amp;rsquo;s how you protect yourself.&lt;/p&gt;
</description>
    </item>
    <item>
      <title>How a Mind Without Images Thinks</title>
      <link>https://rickgwei.com/en/posts/aphantasia-thinking/</link>
      <pubDate>Sun, 30 Nov 2025 00:00:00 +0800</pubDate>
      <guid>https://rickgwei.com/en/posts/aphantasia-thinking/</guid>
      <description>&lt;p&gt;Aphantasia is the inability to voluntarily create mental images. People with this condition can&amp;rsquo;t picture things in their mind&amp;rsquo;s eye. Many also can&amp;rsquo;t recall smells, sounds, or tactile sensations. Some even have difficulty recognizing faces.&lt;/p&gt;
&lt;p&gt;&lt;a href=&#34;https://aphantasiatest.com/zh/blog/aphantasia-test-the-vviq-science-behind-your-minds-eye&#34;&gt;Aphantasia Test&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;I have severe aphantasia. When I close my eyes, I can&amp;rsquo;t visualize anything at all. At work, I constantly forget my colleagues&amp;rsquo; names, which makes it embarrassing to ask them again. Growing up, I don&amp;rsquo;t have many visual memories. The things I can recall that are related to aphantasia are falling off the back of an abandoned pickup truck, and a memory from when I was about one year old — staying at my uncle&amp;rsquo;s house, not being able to find the bathroom, pooping on the bed, and then hiding in the wardrobe until I was found.&lt;/p&gt;
&lt;p&gt;I discovered that dreams could actually have visuals around 2–3 years after graduating college, during a casual conversation with my girlfriend. After that, I took the aphantasia test and confirmed that I have a severe case. In my work and studies, I understand problems more through a sense of &amp;ldquo;concepts.&amp;rdquo; I can&amp;rsquo;t truly empathize with the scenarios others describe. In high school, I was pretty confused by geometry problems and poetry, and I absolutely hated memorization — because I&amp;rsquo;d never experienced what it was like to &amp;ldquo;replay&amp;rdquo; something in my mind.&lt;/p&gt;
&lt;p&gt;I feel fortunate to have chosen programming as my career. It comes naturally to me — I can quickly grasp code implementations and context. For someone like me who can&amp;rsquo;t visualize, this saves a tremendous amount of effort. Using &lt;a href=&#34;https://en.wikipedia.org/wiki/Language_Server_Protocol&#34;&gt;LSP&lt;/a&gt; tools in an &lt;a href=&#34;https://en.wikipedia.org/wiki/Integrated_development_environment&#34;&gt;IDE&lt;/a&gt;, I can rapidly connect different parts of a feature tree and think laterally. This indexing method feels a lot like a B+ tree implementation to me.&lt;/p&gt;
&lt;p&gt;At this point, I actually think aphantasia is a blessing in disguise. My girlfriend sometimes has a rough day because of a nightmare, but I don&amp;rsquo;t have that problem. When I wake up, about 95% of whatever I dreamed fades away almost instantly. My experience of dreaming is more about whether the emotions during sleep felt good or bad. When something unpleasant happens, I can quickly assess the situation and move on without getting stuck in negative emotions for too long.&lt;/p&gt;
&lt;p&gt;The downside is that my memory works like volatile storage that lazy-loads — for things I&amp;rsquo;ve forgotten, I&amp;rsquo;ll recall them reflexively when I&amp;rsquo;m back in the same or a similar setting, kind of like an amnesia patient recovering memories. For me, this actually means I can quickly let go of bad experiences and live in the present without being haunted by the past. I used to worry I might have Alzheimer&amp;rsquo;s, but after confirming it&amp;rsquo;s aphantasia, I&amp;rsquo;ve come to appreciate being able to simply enjoy the here and now.&lt;/p&gt;
&lt;p&gt;I&amp;rsquo;ve seen a lot of discussions about aphantasia on V2EX. If you&amp;rsquo;re curious, check out what others have to say about this condition:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&#34;https://v2ex.com/t/1174870&#34;&gt;Lived over twenty years before discovering I have aphantasia — it changed everything I thought I knew about &amp;ldquo;imagination&amp;rdquo;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://www.v2ex.com/t/1173985&#34;&gt;Can you train yourself to see images with aphantasia?&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://www.v2ex.com/t/599311&#34;&gt;What are those &amp;ldquo;things&amp;rdquo; you &amp;ldquo;see&amp;rdquo; when you close your eyes?&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
</description>
    </item>
    <item>
      <title>E-bike Accident: A Post-Mortem</title>
      <link>https://rickgwei.com/en/posts/ebike-accident-review/</link>
      <pubDate>Wed, 05 Nov 2025 00:00:00 +0800</pubDate>
      <guid>https://rickgwei.com/en/posts/ebike-accident-review/</guid>
      <description>&lt;h2 id=&#34;background&#34;&gt;Background&lt;/h2&gt;
&lt;p&gt;During this year&amp;rsquo;s National Day holiday, I was riding my e-bike and got distracted, crashing into someone who had stopped on the side of the road on a shared bike. Both of us were injured, and since I was the one who hit him, I was fully at fault. I&amp;rsquo;d already bought a nice late-night snack to bring home and celebrate, but got sidetracked halfway through. Still, going through this experience taught me a lot about traffic regulations at a relatively low cost.&lt;/p&gt;
&lt;p&gt;Below, I&amp;rsquo;ll summarize how to handle this kind of situation and the approach I took.&lt;/p&gt;
&lt;h2 id=&#34;what-to-do-immediately-after-an-accident&#34;&gt;What to Do Immediately After an Accident&lt;/h2&gt;
&lt;p&gt;&lt;strong&gt;Protect yourself before helping others&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;First, check your own injuries — especially whether you&amp;rsquo;ve hit your head — and assess how serious they are. If you&amp;rsquo;re bleeding from the head, limbs, or torso, try small movements to check for fractures. If your injuries are serious, call out to bystanders to help dial emergency services. Otherwise, move to a safe area on the side of the road first.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Assess the other person&amp;rsquo;s condition&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Start recording the scene on your phone first, then go check on the other person&amp;rsquo;s injuries. If the injuries are serious, call 120 (emergency services) right away. Once both parties confirm there are no life-threatening injuries, call 110 or 122 to get traffic police to the scene. Important: don&amp;rsquo;t move the vehicles at this point, because the police need to determine liability based on the scene. When the police arrive, they&amp;rsquo;ll verify both parties&amp;rsquo; identities — this is when you can share your video recording as supplementary evidence. After the police make their determination, they&amp;rsquo;ll confirm it with both parties, and everyone signs and prints the traffic accident report.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Don&amp;rsquo;t settle privately&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;After the ruling is made, if the other party suggests settling things privately, absolutely do not agree. Any agreement reached without a third party present can&amp;rsquo;t be proven, and it could create hidden problems down the road. Don&amp;rsquo;t let urgency lead to bigger mistakes.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Hospital examination&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;You should immediately suggest taking the other party to the emergency department for an examination. This provides evidence for the subsequent mediation process. Without an immediate examination, any disputes that arise later will become extremely complicated.&lt;/p&gt;
&lt;p&gt;You can pay for the hospital examination upfront — this will be well-documented evidence during the claim process. After the initial check-up, take photos of all receipts and medical records, or save them from the hospital&amp;rsquo;s mini-program.&lt;/p&gt;
&lt;h2 id=&#34;post-accident-mediation-steps&#34;&gt;Post-Accident Mediation Steps&lt;/h2&gt;
&lt;p&gt;Earlier I mentioned not settling privately — here&amp;rsquo;s why. From a legal standpoint, proving a private settlement is very troublesome. Unless both parties have signed and sealed an agreement, it&amp;rsquo;s basically considered one party&amp;rsquo;s subjective action with no legal precedent to protect it.&lt;/p&gt;
&lt;p&gt;Typically, traffic accidents — including those involving injuries — need to be handled through the traffic police station. Most stations have a People&amp;rsquo;s Mediation Committee. You can book a mediator (lawyer) through the mini-program for a three-party mediation. Before the mediation, organize and compile all relevant documents, clearly inform the mediator of any expenses paid upfront and any proactive steps you took to get the injured party treated. This reduces the mediator&amp;rsquo;s workload and helps build goodwill.&lt;/p&gt;
&lt;p&gt;For specific compensation amounts, I&amp;rsquo;d recommend referencing similar verdicts on the judicial documents website. If you&amp;rsquo;re in a hurry to resolve things, try not to exceed 150% of the court-determined amount — we don&amp;rsquo;t want to disrupt market norms. Of course, lawyers and mediators who regularly handle traffic accidents are practically half orthopedic doctors themselves. Trust that professionals with rich experience can make professional judgments about common accident severities.&lt;/p&gt;
&lt;p&gt;The main components of compensation are:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Medical expenses:&lt;/strong&gt; All bills from treatment. If there are unnecessary examinations, ask the other party to provide the hospital&amp;rsquo;s consultation records.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Nutrition allowance:&lt;/strong&gt; Paid according to local standards, usually around 50 yuan per day.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Nursing care:&lt;/strong&gt; Only required for hospitalization, and needs to be backed by hospitalization records and payment receipts.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Lost wages:&lt;/strong&gt; If the person is employed, they need to prove the income lost from missing work. For example, if their company only pays 80% salary during sick leave, you&amp;rsquo;d need to compensate the remaining 20%, supported by tax records and bank statements.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Personal compensation:&lt;/strong&gt; Supplementary fees required by legal precedent.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;After completing the mediation, make sure to sign an agreement. Pay close attention that the agreement explicitly states that no further lawsuits or claims will be filed regarding related expenses and matters — otherwise, some unscrupulous individuals may use it as leverage to demand more compensation later. The mediation agreement is made in triplicate, held by both parties and the mediator. Both sides sign and seal it, and the mediator&amp;rsquo;s fee (around 100 yuan) is split equally.&lt;/p&gt;
</description>
    </item>
    <item>
      <title>Three Stages of Not Loving</title>
      <link>https://rickgwei.com/en/posts/three-stages-of-not-loving/</link>
      <pubDate>Tue, 04 Nov 2025 00:00:00 +0800</pubDate>
      <guid>https://rickgwei.com/en/posts/three-stages-of-not-loving/</guid>
      <description>&lt;p&gt;As we get older, our awareness of love becomes sharper. Some beliefs drilled into us since childhood no longer feel like gospel truths. Growing up, we&amp;rsquo;re taught that parents love their children unconditionally, and therefore children should love their parents unconditionally in return. But children lack the ability to discern — these mental imprints, planted early, only deepen with time. Without independent thinking or distance from the culture of filial piety, it&amp;rsquo;s nearly impossible to break free from this programming.&lt;/p&gt;
&lt;p&gt;Most people who live with their parents and extended family assume everyone loves them, and so they should love them back just the same. This sense of &amp;ldquo;unworthiness&amp;rdquo; has given most people born in the &amp;rsquo;80s and &amp;rsquo;90s an underlying tint of self-doubt. The reality is that many relatives don&amp;rsquo;t love you as much as you think. Most of the goodwill they express is just social performance.&lt;/p&gt;
&lt;p&gt;Back to the main topic — in this post, I want to share the moments I became aware of the absence of love, and how the world felt different after that awakening.&lt;/p&gt;
&lt;h2 id=&#34;stage-one-your-parents-dont-love-you&#34;&gt;Stage One: Your Parents Don&amp;rsquo;t Love You&lt;/h2&gt;
&lt;p&gt;Your birth may not have been what they planned. In many cases, a new life enters the world driven more by the animal instinct to reproduce. In society&amp;rsquo;s collective unconscious, procreation is treated as a mandatory choice rather than an optional one. Before the invention of contraception, hormone-driven reproduction expanded the species&amp;rsquo; population, providing more labor. Parents who raised children to adulthood earned the right to direct and command them — essentially outsourcing physical labor to the next generation. As the number of offspring grew, the first-born children were even expected to take on part of the child-rearing responsibilities.&lt;/p&gt;
&lt;p&gt;In primitive societies, due to primitive medicine, this gamble often came with high risk, and people tacitly accepted the &amp;ldquo;one life for one life&amp;rdquo; trade-off. As medical technology advanced, the risks of childbirth have dropped by orders of magnitude compared to ancient times — but the collective unconscious hasn&amp;rsquo;t kept pace. In the 21st century, most parents still believe their children should stay close, be filial, and inherit their (often modest) estate.&lt;/p&gt;
&lt;p&gt;These beliefs create conflicts within individual consciousness. As children grow, they may wonder why their parents sometimes seem to love them and sometimes don&amp;rsquo;t. This confusion leads the still-developing child to mistakenly believe they need to earn their parents&amp;rsquo; approval to be loved — losing the &amp;ldquo;self&amp;rdquo; part of their identity in the process. They start performing textbook filial piety, falling into the trap of self-betrayal.&lt;/p&gt;
&lt;p&gt;When you release all expectations of love from your parents, you enter the second stage of awakening.&lt;/p&gt;
&lt;h2 id=&#34;stage-two-you-dont-love-your-parents&#34;&gt;Stage Two: You Don&amp;rsquo;t Love Your Parents&lt;/h2&gt;
&lt;p&gt;After deconstructing the true nature of parental love, you realize how absurd many of your past attempts to show love to your parents really were. Self-doubt sets in. You start questioning what made you love them in the first place. If your parents don&amp;rsquo;t even love you, why does society still insist that children should believe their parents love them, and that they should love their parents back?&lt;/p&gt;
&lt;p&gt;From a management perspective, the most cost-efficient structure is hierarchical — the classic &amp;ldquo;ruler over minister, father over son&amp;rdquo; model. If every person in society has a default manager, you only need a small number of people capable of managing those managers. From a cost and implementation standpoint, it&amp;rsquo;s actually a pretty efficient approach.&lt;/p&gt;
&lt;p&gt;Once you see through the nature of this collective unconscious, the relationship between society and family becomes clear — the family is simply the smallest management unit within society&amp;rsquo;s hierarchical structure. You can choose not to work in this department. And of course, you can choose not to work at this company either.&lt;/p&gt;
&lt;h2 id=&#34;stage-three-you-dont-love-your-children&#34;&gt;Stage Three: You Don&amp;rsquo;t Love Your Children&lt;/h2&gt;
&lt;p&gt;This is a play that keeps repeating on an endless loop. As you gradually become aware of what &amp;ldquo;not loving&amp;rdquo; looks like, you&amp;rsquo;ll also develop your own thoughts on what real love actually means. If you choose to become a parent, you may find that your role is more about accompanying a life through its growth — you&amp;rsquo;re an observer witnessing the awakening of a new being. During your child&amp;rsquo;s development, you&amp;rsquo;ll recall the experiences from stages one and two, constantly reminding yourself that you&amp;rsquo;re merely a bystander in this life.&lt;/p&gt;
&lt;p&gt;When your child acts in ways that seek approval and beg for love, you can tell them about the rights and wrongs of love. You can also tell them that they need to love themselves first before they can truly love anyone else.&lt;/p&gt;
</description>
    </item>
    <item>
      <title>Notes from a National Day Holiday</title>
      <link>https://rickgwei.com/en/posts/national-day-holiday/</link>
      <pubDate>Wed, 08 Oct 2025 00:00:00 +0800</pubDate>
      <guid>https://rickgwei.com/en/posts/national-day-holiday/</guid>
      <description>&lt;p&gt;I started my break on September 27th and it lasted until October 8th — 12 days off in total. Today is day 11, and quite a lot happened during this time, so I figured I&amp;rsquo;d write it all down.&lt;/p&gt;
&lt;h3 id=&#34;the-3-days-before-the-official-holiday&#34;&gt;The 3 Days Before the Official Holiday&lt;/h3&gt;
&lt;p&gt;Since I took annual leave for the 3 days before National Day while my colleagues didn&amp;rsquo;t, I still had to check my phone and respond to work messages during those initial days off. This is pretty common in Chinese workplaces. Chinese culture often instills a competitive mindset — fighting to grab more from a finite pool of resources, rather than collaborating to create new ones. This shows up in many scenarios, yet everyone seems to tacitly accept these rules, creating what feels like a battle royale. Thinking about it is still a bit disappointing — when someone tries to create more value through collaboration, their own resources usually end up getting carved up by the other parties.&lt;/p&gt;
&lt;h3 id=&#34;what-i-did-during-the-break&#34;&gt;What I Did During the Break&lt;/h3&gt;
&lt;p&gt;I signed up in July for the PTE exam scheduled for late September. But a sudden increase in workload kept me busy the entire month of September, and my test prep got put on hold. To have uninterrupted study time, I postponed the exam to mid-October, which gave me the entire break to properly review and prepare.&lt;/p&gt;
&lt;p&gt;After almost a month without studying, I started by reviewing the speaking question types I had prepped before. Once that was done, I moved on to writing while doing speaking mock tests on the side. On October 6th, I completed my first full mock exam and hit my target score — though some speaking questions were ones I&amp;rsquo;d seen before. I spent the remaining days doing more mock exams. I&amp;rsquo;ll keep getting up early to do practice tests before work until exam day.&lt;/p&gt;
&lt;h3 id=&#34;finishing-atomic-habits&#34;&gt;Finishing &amp;ldquo;Atomic Habits&amp;rdquo;&lt;/h3&gt;
&lt;p&gt;This book had been recommended by classmates back in college. Recently, wanting to tackle my procrastination, I downloaded it and started reading. I&amp;rsquo;d gotten through the first few chapters during spare moments in September, and finished the whole thing on October 5th. It was very rewarding. Some of the frameworks resonated with things I&amp;rsquo;d already experienced, but what really clicked was the idea that the brain only consistently does something when System 1 and System 2 agree. Satisfy System 1&amp;rsquo;s short-term needs first, then let System 2 act as a feedback loop to keep things running. Now I&amp;rsquo;m learning how to &amp;ldquo;trick&amp;rdquo; System 1 into compromising with System 2 to execute on my goals.&lt;/p&gt;
&lt;h3 id=&#34;other-things&#34;&gt;Other Things&lt;/h3&gt;
&lt;p&gt;On the evening of October 6th (Mid-Autumn Festival), my girlfriend and I went out on the e-bike to grab late-night snacks. I got distracted while we were chatting and crashed into a pedestrian. Both of us got minor injuries. Since I&amp;rsquo;d never been in a traffic accident before, I called 120 (ambulance) first to check if there were any issues, then called 110 for the police to come and issue a report. Afterward, I went to the ER with the other person to get our injuries checked out. There&amp;rsquo;ll be follow-up visits to determine the final compensation amount. This accident reminded me that driving any vehicle always carries risk — you need to stay focused on the road at all times to avoid accidents caused by distraction. Fortunately, neither party was seriously hurt.&lt;/p&gt;
&lt;p&gt;On October 4th, my application to the LinuxDo forum finally got approved. I carefully wrote up my introduction, and it was approved within 2 hours — made me pretty happy.&lt;/p&gt;
&lt;p&gt;During the break, my girlfriend and I cooked lots of good meals. When we had time, we&amp;rsquo;d go out for walks and spotted plenty of cats along the way, which was a lot of fun.&lt;/p&gt;
</description>
    </item>
    <item>
      <title>The Bad Ending for Tech Workers</title>
      <link>https://rickgwei.com/en/posts/tech-worker-bad-ending/</link>
      <pubDate>Wed, 01 Oct 2025 00:00:00 +0800</pubDate>
      <guid>https://rickgwei.com/en/posts/tech-worker-bad-ending/</guid>
      <description>&lt;p&gt;In December 2024, Intel released a statement announcing that their CEO would be retiring effective immediately. To most people, it felt more like the CEO had been laid off. This naturally made people curious about why he was forced out.&lt;/p&gt;
&lt;p&gt;The ousted CEO, Pat Gelsinger, was a legendary first-generation programmer. He joined Intel at 18 and worked there for 30 years, eventually becoming the company&amp;rsquo;s first CTO. Before leaving Intel, he had laid the groundwork for the next decade of the new Blue Giant. After leaving, he made his mark in the server hardware and software world with EMC and VMware. Looking back at that period, it almost feels like he was paving the way for Intel&amp;rsquo;s server market dominance — and he did, helping Intel achieve a complete monopoly. Then in 2021, he returned to Intel. Everything seemed picture-perfect.&lt;/p&gt;
&lt;p&gt;But when he came back, he found it wasn&amp;rsquo;t the Intel he&amp;rsquo;d left. As the company had grown rapidly, the talent pool had become uneven and bureaucracy was rampant. It was like a car with no steering wheel and failed brakes, hurtling toward a cliff — while the passengers chatted and laughed, oblivious to the danger. His return made me nervous for him. Before him, Jim Keller — the so-called &amp;ldquo;silicon wizard&amp;rdquo; — had also waded through these murky waters. After a brief tenure, Keller went on podcasts to lambaste the company&amp;rsquo;s bureaucratic culture. In hindsight, you wouldn&amp;rsquo;t criticize a company that harshly if you didn&amp;rsquo;t care about it in the first place.&lt;/p&gt;
&lt;p&gt;Right out of school, I felt like I&amp;rsquo;d lost control of my life. Someone recommended his book &lt;em&gt;The Juggling Act&lt;/em&gt; (originally titled &amp;ldquo;平衡的智慧&amp;rdquo;), and it inspired me to seek meaning in life — it kept me from turning into a psychologically distorted robot. Once a company goes through rapid growth and has tens of thousands of employees, becoming a bonafide &amp;ldquo;big tech company,&amp;rdquo; its operating game enters garbage time. It&amp;rsquo;s like an athlete who lets themselves go and becomes obese — then steps on a nail. That overweight body can barely take another step. Without change, the outcome is predictable.&lt;/p&gt;
&lt;p&gt;Finally, I want to touch on the innovation paradox in corporations. From what I&amp;rsquo;ve observed, when a company starts talking about innovation from the top down, there&amp;rsquo;s a good chance their existing business is already losing money or no longer growing. Real innovation in companies usually bubbles up from the bottom. When the organizational hierarchy is flat, sparks of innovation easily catch people&amp;rsquo;s attention, and everyone naturally keeps innovating. When you find yourself married to someone you don&amp;rsquo;t love, the best move is to get a lawyer and start the divorce. And while you&amp;rsquo;re at it, don&amp;rsquo;t forget to find a life that&amp;rsquo;s truly your own.&lt;/p&gt;
</description>
    </item>
  </channel>
</rss>
